package com.example.hospitalsystem.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("design")
public class Design implements Serializable {


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

//    @TableId(value = "design_id", type = IdType.AUTO)
    private Integer designId;

//    @TableField("user_name")
    private String userName;

//    @TableField("admin_name")
    private String adminName;

//    @TableField("title")
    private String title;

//    @TableField("content")
    private String content;

//    @TableField("publish_time")
    private LocalDateTime publishTime;

//    @TableField("likes_count")
    private Integer likesCount;

//    @TableField("comments_count")
    private Integer commentsCount;

//    @TableField("collects_count")
    private Integer collectsCount;

    private String image;


}
